#include "stdafx.h"
#include "list材质插座.h"

using namespace std;







C_插座材质_1D::C_插座材质_1D(string name) : C_插座基类(name, E_插座类型::e_插座Type_材质_Array1D) {

}

C_插座材质_1D::~C_插座材质_1D() {

}

void* C_插座材质_1D::f_getData() {
	C_插座基类* socket = f_getLinkOutSocket();
	if (socket) {
		if (socket->m_Type == E_插座类型::e_插座Type_Quat_Array1D) {
			return dynamic_cast<C_插座材质_1D*>(socket)->f_getData();
		}
	}
	return &m_Value;
}

void C_插座材质_1D::f_setData(void* data, int64 ID) {
	m_Value = *((vector<S_材质槽>*)data);
}

PyObject* C_插座材质_1D::f_bl_传入数据(PyObject* bl_data) {

	return nullptr;
}

PyObject* C_插座材质_1D::f_输出_bl数据(PyObject* bl_data) {

	return nullptr;
}







